package com.sz.admin.browsehistory.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * BrowseHistory添加DTO
 * </p>
 *
 * @author sz-admin
 * @since 2025-06-30
 */
@Data
@Schema(description = "BrowseHistory添加DTO")
public class BrowseHistoryCreateDTO {

   @Schema(description =  "用户ID")
   private String userId;

   @Schema(description =  "帖子ID")
   private String postId;

   @Schema(description =  "浏览次数")
   private Integer viewTimes;

   @Schema(description =  "最长浏览时间（秒）")
   private Integer maxDuration;

   @Schema(description =  "总计浏览时间（秒）")
   private Integer totalDuration;

   @Schema(description =  "最后浏览时间 (格式: yy-mm-dd:hh-mm-ss)")
   private String lastViewTime;

   @Schema(description =  "创建时间 (格式: yy-mm-dd:hh-mm-ss)")
   private String createdAt;

   @Schema(description =  "更新时间 (格式: yy-mm-dd:hh-mm-ss)")
   private String updatedAt;

   @Schema(description =  "")
   private Integer isDeleted;

}